.class final Lcom/peptalk/client/lbs/android/LbsManager$2;
.super Ljava/lang/Object;
.source "LbsManager.java"

# interfaces
.implements Landroid/location/LocationListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/peptalk/client/lbs/android/LbsManager;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/peptalk/client/lbs/android/LbsManager;


# direct methods
.method constructor <init>(Lcom/peptalk/client/lbs/android/LbsManager;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/peptalk/client/lbs/android/LbsManager$2;->this$0:Lcom/peptalk/client/lbs/android/LbsManager;

    .line 181
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onLocationChanged(Landroid/location/Location;)V
    .locals 3
    .parameter "loc"

    .prologue
    .line 184
    iget-object v0, p0, Lcom/peptalk/client/lbs/android/LbsManager$2;->this$0:Lcom/peptalk/client/lbs/android/LbsManager;

    invoke-virtual {p1}, Landroid/location/Location;->getProvider()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/peptalk/client/lbs/android/LbsManager;->access$4(Lcom/peptalk/client/lbs/android/LbsManager;Ljava/lang/String;)V

    .line 185
    iget-object v0, p0, Lcom/peptalk/client/lbs/android/LbsManager$2;->this$0:Lcom/peptalk/client/lbs/android/LbsManager;

    invoke-static {v0}, Lcom/peptalk/client/lbs/android/LbsManager;->access$5(Lcom/peptalk/client/lbs/android/LbsManager;)Lcom/peptalk/client/lbs/android/PhoneLocation;

    move-result-object v0

    invoke-virtual {p1}, Landroid/location/Location;->getLatitude()D

    move-result-wide v1

    iput-wide v1, v0, Lcom/peptalk/client/lbs/android/PhoneLocation;->lat:D

    .line 186
    iget-object v0, p0, Lcom/peptalk/client/lbs/android/LbsManager$2;->this$0:Lcom/peptalk/client/lbs/android/LbsManager;

    invoke-static {v0}, Lcom/peptalk/client/lbs/android/LbsManager;->access$5(Lcom/peptalk/client/lbs/android/LbsManager;)Lcom/peptalk/client/lbs/android/PhoneLocation;

    move-result-object v0

    invoke-virtual {p1}, Landroid/location/Location;->getLongitude()D

    move-result-wide v1

    iput-wide v1, v0, Lcom/peptalk/client/lbs/android/PhoneLocation;->lon:D

    .line 187
    iget-object v0, p0, Lcom/peptalk/client/lbs/android/LbsManager$2;->this$0:Lcom/peptalk/client/lbs/android/LbsManager;

    invoke-static {v0}, Lcom/peptalk/client/lbs/android/LbsManager;->access$5(Lcom/peptalk/client/lbs/android/LbsManager;)Lcom/peptalk/client/lbs/android/PhoneLocation;

    move-result-object v0

    invoke-virtual {p1}, Landroid/location/Location;->getAccuracy()F

    move-result v1

    iput v1, v0, Lcom/peptalk/client/lbs/android/PhoneLocation;->accuracy:F

    .line 188
    iget-object v0, p0, Lcom/peptalk/client/lbs/android/LbsManager$2;->this$0:Lcom/peptalk/client/lbs/android/LbsManager;

    invoke-static {v0}, Lcom/peptalk/client/lbs/android/LbsManager;->access$5(Lcom/peptalk/client/lbs/android/LbsManager;)Lcom/peptalk/client/lbs/android/PhoneLocation;

    move-result-object v0

    invoke-virtual {p1}, Landroid/location/Location;->getTime()J

    move-result-wide v1

    iput-wide v1, v0, Lcom/peptalk/client/lbs/android/PhoneLocation;->time:J

    .line 190
    iget-object v0, p0, Lcom/peptalk/client/lbs/android/LbsManager$2;->this$0:Lcom/peptalk/client/lbs/android/LbsManager;

    invoke-static {v0}, Lcom/peptalk/client/lbs/android/LbsManager;->access$6(Lcom/peptalk/client/lbs/android/LbsManager;)Ljava/lang/String;

    move-result-object v0

    monitor-enter v0

    .line 191
    :try_start_0
    iget-object v1, p0, Lcom/peptalk/client/lbs/android/LbsManager$2;->this$0:Lcom/peptalk/client/lbs/android/LbsManager;

    const/4 v2, 0x1

    invoke-static {v1, v2}, Lcom/peptalk/client/lbs/android/LbsManager;->access$7(Lcom/peptalk/client/lbs/android/LbsManager;Z)V

    .line 192
    iget-object v1, p0, Lcom/peptalk/client/lbs/android/LbsManager$2;->this$0:Lcom/peptalk/client/lbs/android/LbsManager;

    invoke-static {v1}, Lcom/peptalk/client/lbs/android/LbsManager;->access$8(Lcom/peptalk/client/lbs/android/LbsManager;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 193
    iget-object v1, p0, Lcom/peptalk/client/lbs/android/LbsManager$2;->this$0:Lcom/peptalk/client/lbs/android/LbsManager;

    invoke-static {v1}, Lcom/peptalk/client/lbs/android/LbsManager;->access$6(Lcom/peptalk/client/lbs/android/LbsManager;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->notifyAll()V

    .line 190
    :cond_0
    monitor-exit v0

    .line 196
    return-void

    .line 190
    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public onProviderDisabled(Ljava/lang/String;)V
    .locals 0
    .parameter "arg0"

    .prologue
    .line 200
    return-void
.end method

.method public onProviderEnabled(Ljava/lang/String;)V
    .locals 0
    .parameter "arg0"

    .prologue
    .line 204
    return-void
.end method

.method public onStatusChanged(Ljava/lang/String;ILandroid/os/Bundle;)V
    .locals 0
    .parameter "arg0"
    .parameter "arg1"
    .parameter "arg2"

    .prologue
    .line 208
    return-void
.end method
